object FrmOrderScanQuery: TFrmOrderScanQuery
  Left = 0
  Top = 0
  Caption = #25195#25551#35760#24405#26597#35810
  ClientHeight = 584
  ClientWidth = 1161
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #24494#36719#38597#40657
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 17
  object cxGroupBox1: TcxGroupBox
    Left = 0
    Top = 0
    Align = alTop
    Style.Edges = [bLeft, bTop, bRight]
    TabOrder = 0
    Height = 72
    Width = 1161
    object Label1: TLabel
      Left = 423
      Top = 12
      Width = 24
      Height = 17
      Caption = #32593#28857
    end
    object Label2: TLabel
      Left = 10
      Top = 12
      Width = 48
      Height = 17
      Caption = #36215#22987#26102#38388
    end
    object Label3: TLabel
      Left = 10
      Top = 43
      Width = 48
      Height = 17
      Caption = #32467#26463#26102#38388
    end
    object Label4: TLabel
      Left = 215
      Top = 12
      Width = 48
      Height = 17
      Caption = #25805#20316#31867#22411
    end
    object Label5: TLabel
      Left = 423
      Top = 43
      Width = 24
      Height = 17
      Caption = #24037#21495
    end
    object Label6: TLabel
      Left = 602
      Top = 12
      Width = 36
      Height = 17
      Caption = #36816#21333#21495
    end
    object Label7: TLabel
      Left = 230
      Top = 43
      Width = 24
      Height = 17
      Caption = #29677#27425
    end
    object Label8: TLabel
      Left = 602
      Top = 43
      Width = 53
      Height = 17
      Caption = #38598'/'#25286#21253#21495
    end
    object Label9: TLabel
      Left = 802
      Top = 43
      Width = 48
      Height = 17
      Caption = #19979#19968#32593#28857
    end
    object edtNodeNo: TcxButtonEdit
      Left = 462
      Top = 9
      Properties.Buttons = <
        item
          Default = True
        end>
      Properties.OnButtonClick = edtNodeNoPropertiesButtonClick
      TabOrder = 4
      Width = 121
    end
    object edtDateFrom: TcxDateEdit
      Left = 67
      Top = 9
      Properties.Kind = ckDateTime
      TabOrder = 2
      Width = 135
    end
    object edtDateTo: TcxDateEdit
      Left = 67
      Top = 40
      Properties.Kind = ckDateTime
      TabOrder = 7
      Width = 135
    end
    object edtBillNo: TcxTextEdit
      Left = 665
      Top = 9
      TabOrder = 6
      Width = 121
    end
    object cxButton1: TcxButton
      Left = 810
      Top = 5
      Width = 80
      Height = 32
      Action = actSearch
      TabOrder = 0
    end
    object edtOpUserCode: TcxButtonEdit
      Left = 462
      Top = 40
      Properties.Buttons = <
        item
          Default = True
        end>
      Properties.OnButtonClick = edtOpUserCodePropertiesButtonClick
      TabOrder = 10
      Width = 121
    end
    object cmbOpType: TcxImageComboBox
      Left = 272
      Top = 9
      RepositoryItem = FrmConsole.EditRepOrderState
      Properties.Items = <>
      TabOrder = 3
      Width = 121
    end
    object edtClass: TcxButtonEdit
      Left = 272
      Top = 40
      Properties.Buttons = <
        item
          Default = True
        end>
      Properties.OnButtonClick = cxButtonEdit1PropertiesButtonClick
      TabOrder = 8
      Width = 121
    end
    object cxButton2: TcxButton
      Left = 896
      Top = 5
      Width = 80
      Height = 32
      Action = actOutPut
      TabOrder = 1
    end
    object edtPKGNo: TcxTextEdit
      Left = 665
      Top = 40
      TabOrder = 11
      Width = 121
    end
    object teNodeName: TcxTextEdit
      Left = 462
      Top = 9
      Properties.ReadOnly = True
      TabOrder = 5
      Width = 103
    end
    object teEmpName: TcxTextEdit
      Left = 462
      Top = 40
      Properties.ReadOnly = True
      TabOrder = 9
      Width = 103
    end
    object edtNextNode: TcxButtonEdit
      Left = 856
      Top = 40
      Properties.Buttons = <
        item
          Default = True
        end>
      Properties.OnButtonClick = edtNextNodePropertiesButtonClick
      TabOrder = 13
      Width = 121
    end
    object teNextNode: TcxTextEdit
      Left = 856
      Top = 40
      Properties.ReadOnly = True
      TabOrder = 12
      Width = 103
    end
    object cbSameOne: TcxCheckBox
      Left = 982
      Top = 9
      Caption = #21516#21333#21495#25195#30721#20445#30041#26368#21518#35760#24405
      ParentFont = False
      Style.Font.Charset = ANSI_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -12
      Style.Font.Name = #24494#36719#38597#40657
      Style.Font.Style = []
      Style.IsFontAssigned = True
      TabOrder = 14
      Transparent = True
      Width = 162
    end
  end
  object GrdScan: TcxGrid
    Left = 0
    Top = 72
    Width = 1161
    Height = 512
    Align = alClient
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #24494#36719#38597#40657
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    object tvScan: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsScan
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = tvScanCARGO_CNT
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnsQuickCustomization = True
      OptionsData.CancelOnExit = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Inserting = False
      OptionsView.NoDataToDisplayInfoText = '<'#27809#26377#25968#25454'>'
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      OptionsView.IndicatorWidth = 30
      object tvScanBILL_NO: TcxGridDBColumn
        DataBinding.FieldName = 'BILL_NO'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 112
      end
      object tvScanCARGO_CNT: TcxGridDBColumn
        DataBinding.FieldName = 'CARGO_CNT'
        HeaderAlignmentHorz = taCenter
      end
      object tvScanOPERTION: TcxGridDBColumn
        DataBinding.FieldName = 'OPERTION'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 320
      end
      object tvScanOP_TIME: TcxGridDBColumn
        DataBinding.FieldName = 'OP_TIME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 142
      end
      object tvScanPKG_NO: TcxGridDBColumn
        Caption = #38598#21253#21495
        DataBinding.FieldName = 'PKG_NO'
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object tvScanNODE_NO: TcxGridDBColumn
        DataBinding.FieldName = 'NODE_NO'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object tvScanNODE_NAME: TcxGridDBColumn
        DataBinding.FieldName = 'NODE_NAME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object tvScanNEXT_NODE: TcxGridDBColumn
        DataBinding.FieldName = 'NEXT_NODE'
        HeaderAlignmentHorz = taCenter
        Width = 127
      end
      object tvScanNEXT_NAME: TcxGridDBColumn
        DataBinding.FieldName = 'NEXT_NAME'
        HeaderAlignmentHorz = taCenter
        Width = 111
      end
      object tvScanEMP_NO: TcxGridDBColumn
        Caption = #25805#20316#21592#32534#21495
        DataBinding.FieldName = 'EMP_NO'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object tvScanEMP_NAME: TcxGridDBColumn
        Caption = #25805#20316#21592#21517#31216
        DataBinding.FieldName = 'EMP_NAME'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object tvScanEMP_TEL: TcxGridDBColumn
        Caption = #25805#20316#21592#30005#35805
        DataBinding.FieldName = 'EMP_TEL'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object tvScanSCAN_DATE: TcxGridDBColumn
        Caption = #25195#25551#26102#38388
        DataBinding.FieldName = 'SCAN_DATE'
        HeaderAlignmentHorz = taCenter
        Width = 116
      end
    end
    object lvEXP_COMP: TcxGridLevel
      GridView = tvScan
    end
  end
  object pnlInfo: TPanel
    Tag = 33
    Left = 407
    Top = 187
    Width = 343
    Height = 49
    BevelInner = bvLowered
    BevelOuter = bvNone
    Caption = #27491#22312#26597#35810#25968#25454#65292#35831#31245#20505'...'
    Color = clWhite
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = #24494#36719#38597#40657
    Font.Style = [fsBold]
    ParentBackground = False
    ParentFont = False
    TabOrder = 2
    Visible = False
  end
  object ActionList: TActionList
    Images = FrmConsole.img32
    Left = 112
    Top = 232
    object actNew: TAction
      Caption = #26032#24314
      ImageIndex = 139
    end
    object actEdit: TAction
      Tag = 1
      Caption = #32534#36753
      ImageIndex = 163
    end
    object actSave: TAction
      Tag = 2
      Caption = #20445#23384
      ImageIndex = 145
    end
    object actCancel: TAction
      Tag = 3
      Caption = #25764#38144
      ImageIndex = 45
    end
    object actDelete: TAction
      Tag = 4
      Caption = #21024#38500
      ImageIndex = 75
    end
    object actRefresh: TAction
      Tag = 5
      Caption = #21047#26032
      ImageIndex = 161
    end
    object actSearch: TAction
      Caption = #26597#35810
      ImageIndex = 152
      OnExecute = actSearchExecute
    end
    object actOutPut: TAction
      Caption = #23548#20986
      ImageIndex = 233
      OnExecute = actOutPutExecute
    end
  end
  object crsScan: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select t.*,t1.user_name  from (select a.*,row_number() over(PART' +
      'ITION BY bill_no,op_code order by op_time desc) cn from tsp_tran' +
      'ce a where bill_no='#39'100441499'#39') t '#13#10'left join sys_user t1 on t.e' +
      'mp_no=t1.user_no where cn=1'
    AppServer = Dm.AppServer
    TableName = 'tsp_trance'
    Left = 216
    Top = 240
    object crsScanID: TStringField
      FieldName = 'ID'
      Size = 100
    end
    object crsScanBILL_NO: TStringField
      DisplayLabel = #36816#21333#21495
      FieldName = 'BILL_NO'
      Size = 50
    end
    object crsScanOP_CODE: TStringField
      DisplayLabel = #25805#20316#20195#30721
      FieldName = 'OP_CODE'
    end
    object crsScanOPERTION: TStringField
      DisplayLabel = #25805#20316#21517#31216
      FieldName = 'OPERTION'
      Size = 100
    end
    object crsScanOP_TIME: TStringField
      DisplayLabel = #25805#20316#26102#38388
      FieldName = 'OP_TIME'
    end
    object crsScanNODE_NO: TStringField
      Tag = 100
      DisplayLabel = #32593#28857#32534#21495
      FieldName = 'NODE_NO'
    end
    object crsScanNODE_NAME: TStringField
      DisplayLabel = #32593#28857#21517#31216
      FieldName = 'NODE_NAME'
      Size = 50
    end
    object crsScanEMP_NO: TStringField
      DisplayLabel = #19994#21153#21592#32534#21495
      FieldName = 'EMP_NO'
    end
    object crsScanEMP_NAME: TStringField
      DisplayLabel = #19994#21153#21592#21517#31216
      FieldName = 'EMP_NAME'
      Size = 50
    end
    object crsScanEMP_TEL: TStringField
      DisplayLabel = #19994#21153#21592#30005#35805
      FieldName = 'EMP_TEL'
    end
    object crsScanUSER_NO: TStringField
      DisplayLabel = #25805#20316#21592#24037#21495
      FieldName = 'USER_NO'
      Size = 50
    end
    object crsScanUSER_NAME: TStringField
      DisplayLabel = #25805#20316#21592#21517#31216
      FieldName = 'USER_NAME'
      Size = 50
    end
    object crsScanSCAN_DATE: TStringField
      FieldName = 'SCAN_DATE'
    end
    object crsScanPKG_NO: TStringField
      FieldName = 'PKG_NO'
      Size = 50
    end
    object crsScanCARGO_CNT: TIntegerField
      DisplayLabel = #20214#25968
      FieldName = 'CARGO_CNT'
    end
    object crsScanNEXT_NODE: TStringField
      DisplayLabel = #19979#19968#31449#28857
      FieldName = 'NEXT_NODE'
      Size = 50
    end
    object crsScanNEXT_NAME: TStringField
      DisplayLabel = #19979#19968#31449#28857#21517#31216
      FieldName = 'NEXT_NAME'
      Size = 50
    end
  end
  object dsScan: TDataSource
    DataSet = crsScan
    Left = 272
    Top = 240
  end
  object dsTspState: TDataSource
    DataSet = Dm.crsTspState
    Left = 344
    Top = 240
  end
  object svdlg: TSaveDialog
    DefaultExt = '*.xls'
    Filter = 'xls|*.xls|xlsx|*.xlsx|text|.txt|html|*.htm|xml|*.xml'
    Left = 121
    Top = 345
  end
  object PopupMenu1: TPopupMenu
    Left = 280
    Top = 296
    object N1: TMenuItem
      Caption = #23548#20986
      OnClick = N1Click
    end
  end
end
